Fixed the prettyPrinter.
Major cleanup.