added queryString method to get last query string
change getQueryString() to getLastQuery(), with both text and data in the returned array