Added key events

Can now do stuff based on keypressess like backspace or tab