Increase time between keystrokes

Increases reliability for characters sequences with some keyboard layouts
Make keyboard and layout instance variables
Move replaceme. map to method, make layout-depend.