Added DISTINCT support. Not appropriate for long streams with an indefinite number of query answers, but now available for judicious use.