Fixed R.Lock.
Its hardly understandable how it even remotely worked before.
Bumped to v0.1.11.
Merge branch 'dev'