Adds a few comments and some code formatting to GroupPrinter