A lot more verbose lock debugging
Remove the unused RecordLock class
Move lock testing into the main test suite