First draft of some documentation
Fix issue pasting text using the mouse only. For now using a hack where we call the algorithm on the 'change' event as well as the 'keyup' event.

Added some convenience values for commonly used settings.