more fixes, renamed rtcCommitMT to rtcCommitThread