Improve documentation on getCursorPos and fix cursorInControl.
Merge pull request #880 from eightyeight/issue-180

Improve documentation on getCursorPos and fix cursorInControl