Make debug flag global.
Make debug flag global.
More clean up
More clean up
Add debug function to dump parse tree.