Remove a bunch of debug cruft.