parse: Remove unused (and broken) code
edit: Don't attempt key binding when readKey returns an error
edit: More detailed BadEscSeq
edit: Check key is not function key before adding it to current line
edit: Fix CSI parsing, a bit cleanup & commenting