small MainWindow fix.