Add CommentValidator, tests.  Fix misc warnings.