I cleaned up nearly all the memory leaks.