use regular mutex instead of recursive_mutext in a few more places the recursion isn't needed- change made for performance