So it's happened a few times now. Riding with headlight on and the engine dies. Coast to stop...no electric start, nothing. It kicks over if I try. Turn off headlights, turn ignition key off then back on and presto...electronic start fires it right up. Never happens when riding with headlights off. Bike has new battery, kohler regulator/rectifier. Haven't yet combined the two stator wires together as has been suggested elsewhere. Not sure why turning the ignition on and off would reset the problem. I'm fairly ignorant of electronics though so any help would be appreciated.