Set focus back to textarea after wrapping

Also sets the caret and scroll to the top.
(Would the bottom be better? I don't know. Probably not until #2 gets resolved).