changed mutex locking function calls to use LOGLEVEL and not 0
Merge branch '4.2.0' of https://github.com/actorquedeveloper/torque into 4.2.0