Tweaks to keypad input to deal with deleting chars.