Added a progress bar to the running view and moved the detector initialization delay out of the detector class.
Made the GUI layout better.