Updated to make flicker randomize based on distance as well.
Added ability to toggle light animations.