I wonder if Frotz could send a signal for when it's in line input mode compared to keypress mode. Maybe it would be possible to let the phone's IME do autocompletes and spellchecks that way. I don't know if I want to spend that much time on it though...