Win32Device: Don't send non-displayable control codes through TextInput event.
TextBox: Significantly reduced code complexity.