Documentation work.
Added tracking of cursor visibility.