Minor fix for cursor movement.
Added a some text manipulation methods, and made backspace work properly.