Fixed small error, changed interface for sparse storage and detection (now only 1 file contains everything).