Mutex locking guard

Added MutexLock class to prevent deadlocks. Replaced UPDATE_MP3 and
UPDATE_MP3_THREAD macros with functions.