Added MessageManagerLock to RecordControl