Moved lockAndSetData to MemSync; further name unification;