added comments and minor code reorg. to test content filter byte streams