Fixed server crash bug relating to the GUI
Moved RGB colour conversion function to EnviroMine