added query options: no/more than one ratio selected, no refobj/dim selected; refactored execquery-handler, added no-data-grid