unused code removed and pragma mark added
caret width improvement

standard caret width added