added a 'lastError' variable to maintain the last QSA selection error state
added a 'lastError' variable to maintain the last QSA selection error state

dperini/nwmatcher,dperini/nwmatcher,dperini/nwmatcher