Pretty print STDOUT messages

Basically just wanted to avoid the puts-puts-puts-puts, but this also adds a reusable prettyPrint function