Refactor code for handling cursor visiability
This is (1) in preparation for the changes to annotating from the viewer, and (2) to enable cursor hiding when viewing videos
This is (1) in preparation for the changes to annotating from the viewer, and (2) to enable cursor hiding when viewing videos