Converted the app._settings lookups to app.set() calls. Much cleaner.