Add preliminary ddocs.
More ddocs.
Improve ddocs.
real time input change
automatic flushing on with_eventloop