improve comments parser, and a few more gfm changes