Made only mainWinow be toggled on/off via the appLauncher button.