Optimized display speed of large query results (courtesy of nodeleaf).