Renamed confusing DIRECT_MEMORY_UNSAFE_MODE to DIRECT_MEMORY_SAFE_MODE