- die_from_main_frame now destroys progress dialog.