initial attempt at validating codestream comments, code commented out because of linefeed and cr problems