Text cursor now moves correctly on text insertion; text deletion still pending
Removing text with backspace now works, fixing issue #10