switched settings file sqlite3, and added handling for a missing file