Minor updates to RichEditor to fix partial initialized exception.