Better handling of dark chrome

.. if you have flat style and choose a dark color the
   chartbar and sidebars now use colors that make it
   possible to actually read the text
Fix calendar colors

.. broke in last commit
Merge remote-tracking branch 'upstream/master'