minor fixes in mainWindow