Fixed some bugs with the new NLG. It's minimally working now (but
probably still pretty buggy). It has a bunch of debug print statements
in.

-Peter Mawhorter