Added blinking caret and editing controls