Avoid useless rehighlight

only rehighlight if the color scheme has changed
Fix restored cursor position when centerOnScroll is True

we call centerCursor at the next iteration of the events loop