#294 processing some queries in batches
Removed some debug stuff
Removed some debug stuff