Implemented a input cursor for the TextInput, separated variables out to private/public sections