fix v8/cpgf cleaning up sequence
update memcheck helper script