refactored how threading is encapsulated in AbstractQueryThread
fixes issue where last few bing queries were never saved due to mishandled end of pipe
Resolved issue in MainIndexConductus where writing to index followed by reading from index would returns incorrect results -- in fact it behaves as though we were reading from the index as it existed prior to the current invocation of MainIndexConductus. Now I close the written index prior to reading from it.