Fix checksum function

Only check dataSize when > 0
Fix reading from archives
Archive information dumping working now