Added ability to delete characters, and improved keyboard handling.