more fixes
fix caret size
fix for wrapping in rich mode