reliably bring the settings window to front
rename main window