Added the basic cursor pinging functionality.

I did this so that the plugin could actually be used.