disable debugging checks
fix LockManagerDeterministicUnitTest
some cleanup
5 files changed