Get rid of MDFND_LockMutex/MDFND_UnlockMutex