Text mode added. Input module refactored. Some default key events are disabled (tab/backspace)