Cleaning up backspace key handling.