added some error catching to qNP().  added ENDTURN and DONOTHING. implemented querySwap and shuffle.  refactored queryPlay for correctness.