Fixed QueryTool crashing on out of range numbers.
Removed old commented out lines from QueryTool.
Added some Javadocs to Indexer.