added a progress bar to loading screen