Switched qLock to mutex instead of semaphore

Yep