Fixes #16, add --pprint switch