Added algorithm for colour identification. This calculation is done in a...

... separate thread. Also made top bar more transparent. The colourBox also refreshes frequently now.
R? @ErnestWong