Fixes gmutex deprications.  Closes #20