Scrupulously cleaned up memory leaks (<3 valgrind), and conditionals
involving uninitialized variables. Also removed unnecessary virtuals
and cleaned up code a little in general.