[[ ThreadedRendering ]] Added global pattern mutex.