Code optimizations, for minification tools

Replaced where needed this with var me. Added some readbility in some
methods. Tested on ST2.1
Added 2 more vars for background colors