public static void UnregisterTextInput()
 {
     _variable = null;
     KeyGrabber.InboundCharEvent -= ProcessInput;
     KeyGrabber.UnregisterMessageFilter();
     _recievingRawInput = false;
 }
 public static void RegisterTextInput(Data.Variable variable)
 {
     _variable = variable;
     KeyGrabber.InboundCharEvent += ProcessInput;
     KeyGrabber.RegisterMessageFilter();
     _recievingRawInput = true;
 }