Added a required setting file.
Fixed up a few issues around the settings panel
not showing errors about denied access.