small code tweaks.
emit a warning if an EDF's light near start value is negative.