Took care of most of the memory leaks.  There's one that we're pretty sure that one varible that we're calling free on is not getting freed.  Weird.