Add progress bar and fix broken GUI.