MainWindow framework complete