static PREF_RMW_LOCK: Mutex<()>
Serializes read-modify-write preference updates so concurrent prefs_set / prefs_remove calls (e.g. color scheme + removing customSchemeVars) cannot clobber each other on disk.
prefs_set
prefs_remove
customSchemeVars