Wrong event name, and emit some data with the event. Pretty-print output.

Also wrote a hex parser and pretty-printed hex generator.