made some changes to check for null where dyninst is instrumenting. not fully tested, revert if needed
made some changes to check for null where dyninst is instrumenting. not fully tested, revert if needed

zwelchWI/cs736proj,zwelchWI/cs736proj,zwelchWI/cs736proj