a few changes. added word count in edit mode.