Invert Color by Luminance

.. just added a GCColor::luminance() method ready for automatically
   selecting foregground colors in the application chrome.
Wait 10s for threads to finish when closing