Allow gamma of 10000k to be set, rather than stopping at 9999k
consolidate chunk of code for consistency
Add initial color calibration support