it works.. sort of. need to reload pthread because dyninst.
got the binary rewrite working correctly, need to merge back into master after adding in commented code