fixed bug where right parens were not getting popped after parsing applications, added a partial pprint function