Added ReadWriteLock. Small fixes in Mutex class.