Refactored the MainWindow.