Thread safe DQM updates - pixel

Implementing thread-safe modifications for the DQM framework in the pixel Source files.