Add pretty printing helper.

This will be useful and make things neat. Debugging STM in colors will
probably be less depressing as well.