remove a lots of compiler warnings + fix bug occurring when rehighlight is called, causing files to be set modified.
tab text color can be chosen
save with encoding / open with encoding