set caret to last position and some visual enhancements