Add stateheader_for function
Move function descriptions to goombasav.h.
Remove printouts of diagnostic messages to standard error
Add license notices to files