Added documentation, title.
added keydown and textsubmit events, reordered process definitions.