Work on imagequery. Basic full-image querying works.