Started valgrind profiling to find memory leaks. Fixed up a few obvious ones.
Fixed up the value heap make prototype so it can create ints and bools easy like.