Removed some commented out status reporting. Will dry this hideous code up when I figure out whether to pass blocks to one query method or write several.