Changed around logic of parsingComplete boolean. Now initialized to false and set to true when processing has completed.