removed keypress register
line and word selection modes. word mode need more work