Improved TreeCleanerVisitor and how error reporting is being handled whe...

...n calling the parser.