Rewrote almost everything.  compareIndexes now retrieves the info from the index files.