Fixes and updates

Moved all settings over to settings file, and moved them to the
application data.