use ConcurrentLinkedDeque for table caching.
modified file format to aid seeking.

clean whitespace.
fix seeking
Add integrity checking options.
fix checksum storing.
fix legacy compatibility
fix base hash reading.