Hide settings window when ok button is pressed
settings are now written to file
formatting in ideapp
Settings are now loaded from config file