Moved all non-debug settings to the database.