Cleaning up code.
Changed directory loading animation to ProgressBar.