I can make a light turn on, but not the color I want...

And it segfaults, a lot.