Gl next query

To get the discussion going about gl query objects.

(I renamed QueryTimeElapsed to QueryTimeSwapped here, to make the swapping mechanism more explicit.)