Remove ProgressWindowController and use presentViewControllerAsSheet to
get rid of deprecated NSApp selectors.