Fixed it for real for a change; double definition of light removed; double updateremoved; endif changed;