New SettingsWindow and more safe way to delete closed windows

Child Windows are also application modal now