Added TextBox Events for InputMachines