Add ATLAS_CHECK_THREAD_SAFETY. Add ATLAS_THREAD_SAFE to m_cache and m_layerVectors[3]. Change file mode to 644.