Fixed lag issue.
The onSecTick function in the main window was called 100 times per second.
I leave the choice of the appropriate colors to a >competant designer