Added various settings.
More Mutex support. Removed Java version.
Now raises exception if locked by same thread as in Ruby.