Added settings window

added simple settings window for preferences saved in json config.