Added progress bar and styling. Fixed bugs