Removed isLoading from ApplicationController.
Minor code improvements.