Some progress on #38 and #44 - Click events are listened to and cursor line is moved to the beginning of the clicked word. Still a lot to do before it works though.