Added config to save settings.
Config encodes passwords.
Added more to the gui.