Update richtext editor + minor fixes