Added support for a settings window