Small cosmetic cleanups.  Added protobuf based logger.