Small optimisations and added common keywords used in log files

Hi there. I made some changes in my fork to group 'red' and 'yellow' texts using booleans and added some common keywords to be in those colours, such as 'FATAL' etc.

Please merge if you see fit.

Thanks
Itamar