I haven't had a chance to look at it, I suspect a loose connection in the head light bucket, before the occurrence my headlight flickered..hmmm
Then it is almost certainly your starter button. When you press the stater button, it interupts the headlight circuit.
Basicly the button has three contacts; center 12V, headlight (Normally on), and starter solenoid activate (momentary on).
If the little rocker and contact are floating around inside the switch housing, vibration will give you random starter activation and headlight outages.
Did brake fluid from the master seep into the control housing? That will ruin the plastic internals and the electrical bits will wander wherever.
Cheers,