Improve keyboard events handling

1. Don't do anything if special key pressed to prevent from overriding
default browser actions.
2. Call preventDefault to avoid conflicts.
build & docs upd