Implemented mutexes; UNTESTED
Merge branch 'master' of github.com:jmaccarl/RTES