Clean out a few leaks. Still leaks at lines 3758, 3759 and 3864, though, and those seem far nastier to fix...