Reformatted MainWindow