gui: Recognize "home" and "end" keys.