partial fix for issue #294 processing some queries in batches
Support EXPLAIN queries
fix some log statements
wip add some explain queries tests