settings window now works