Added Hex category to NSColor which allows constructing the colour from a string.
Code cleanup.