A number of bug fixes and cleanups.
Better logging, and a bunch of bug fixes.

Things don't just randomly hang on service registration over the wire
anymore.