remove global state from parser, moving all state to TokenStream object.  Working on test failure regressions