Cleaning MainWindow