some debugging
get rid of trailing \0's and implement real header protection
Finish up for test release