Fix use of Selection in example
Fix bug (misuse of keyCode in plugins)