lockTree() was a single mutex lock... the lockForWrite() and lockForRead() methods are now used.