MainWindow redesigned