Fix the Parse.nQueryLoop state variable to work with NGQP.
Improved processing of DISTINCT.
Continue refining the NGQP