Remove the closeAllWindows() call from MainWindow::closeEvent(). Seems
to be causing crashes on OSX