Document RichText, fixing small issues along the way.