threshold on keypress, update debug strings