added MainWindow.aboutToClose and aboutToCloseLast signals