relicense to MIT
modernize
minor cleanups
add hash sign code for corruption detection.
add hash sign code for corruption detection/2
reformat
expand the header (prepare for ckhash)
tabs -> spaces (round 1)