Fixing bug #354 Flickering Lights

Lights now have a random "wavelength". The old code had a couple of problems, so I replaced it with a pretty simple algo. The parameters are just a wild guess but look somewhat reasonable.