Makes progress on the input-handling logic.