Make mutexes track threads

Misbehaving threads who attempt to unlock a mutex they do not own
will be brutally killed!