Clean up story titles.

* Add maxlength.
* Fix documenthelper not updating title.
* Prevent newlines.