Move the rest of the query-related globals into SearchModel