Moved the close button of the MainWindow