Memory cleanup
Running the various tools with various options through valgrind revealed a number of instances where memory was not being freed when it should have been.
Running the various tools with various options through valgrind revealed a number of instances where memory was not being freed when it should have been.