Added toggleProgressInidicator to engine.cpp.