I'll differ a bit from Peanut. Long distance, I think the safety relay is acting EXACTLY as expected. By design If charging quits the headlight does NOT come on. A TCI bike not liking to rev, is a further symptom of a charging system that has died. I have been finding dead regulator/rectifiers fairly often now. short the "regulated ground" brush to ground, check that you have +12 at the top brush, watch the volt meter when you rev it. Thanks to 5T for this excellent pic.
If it charges, you have your answer. Do not run the bike long with the brush shorted, the alternator will overcharge the battery and overheat, cooking the rotor as it goes full power, full time. As always a KNOWN good battery, good fuse box, clean contacts and switches, and no shorts in the wiring.