Revamped the query structure of the GRID portion to perform 20 queries instead of 200. It uses integers that are sent with each "next" request to keep track of individual offsets. May want to test it further, but I think it's working. Old code is commented out.