added settings window and settings-db
added settings
settings are saved to .conf
added some more save settings