Removing debug output. Synchronizing calls to getInstance() in Settings.