Made ProgressWindow a JDialog so it stays on top while letting the user
interact with the main application.