Mostly working settings page. Some of the prefs not implemented