Gl next query

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