Changing a bunch of MALLOCs to CALLOCs as valgrind is complaining.
Get rid of the SVN_REV stuff with --version