decoder problems ?

I actually have a couple of questions.
The first is a puzzle, something I’ve never encountered anyway. I have two Atlas RS-3s that have Digitrax DH163AO decoders installed. Both engines run fine either as a single unit or in a consist, however one the units will sometime lose it’s signal when the headlights are on, turn the lights off and the unit will continue on, the other loco works just fine. (same locos same decoders). The other question I have is about the Atlas H-16-44s and the class lights. The class lights will come on in an off color each time power is restored. It’s not a major problem, I have them on function 3 and I have to work 4 times for each road number. Could they be cut off internally without a problem (green and red,not to useful).
Hope it’s not to long for a first timer.

Is is possible that there is a short in the lighting wiring for the unit that stops?