Bringing back onKeyDown function (again) and improving it to work how we need it to. Added string manipulation for adding characters (anywhere within the existing string), implemented a couple of caret moving functions found on gitHub.