Squashed some of the last bugs. Everything so far parses correctly and
prints correctly, except for some extremely specific and unique cases.