Multithreading tests passed, added mutexes to mutex debug assertion code's internal structures, added mutexes to TestEvent's internal structures; Added SCOPED_LOCK and LOCK_SCOPE macros for easier mutex handling.