Keep the main window open while waiting for shutdown.
Workaround fltk rendering bug on osx.