Fixed Variable Scopes in Progress Controller.