Hunting down memory leaks. Removed some.