Fixed NULL-pointer dereference

Well I think I did anyway...
Duplicated multipound tool into a memcheck version