Don't destroy MainWindow on delete-event, just hide it