Added QMutex to prevent secure lazy initialisation