added parent resId acquisition, RAII for all lockmodes, eliminated some _txMutex usage. doesn't compile