I noticed the "glowing" thing from the start. It looks to me like the comparator is running wild, sending a burst of pulses. But there are different ways to achieve it, all are more or less related to bread board layout or weak power supply. Floating inputs of the CMOS FF could be another point. The schematic isn't complete, unfortunately.
Connecting all unused CMOS inputs to a defined voltage (GND or VCC) would be a good standard.
As a last suggestion, you can try to place a filter capacitor between comparator - input and ground. The Voltage divider has rather high impedance.