Refactored YouMainGUI to MainWindow.