MainWindow cleanup.