Enhanced textboxes (#25)

Textboxes now have a caret that can be positioned with the arrow keys.
Also, they support local copy&paste and the home and end keys work now.