Correct arrow key selection, remove debug code.