Better key sequence interpretation

Improve key sequence interpretation.
If multiple key sequences are used we should create more key bindings
though.