Headlight switch , is it the cause? or the curse?

What I was looking for is additional "hacked" wiring through the firewall, and see none. It is evident that someone has bypassed the ammeter for some reason.

I can't figure, offhand, what that frayed red hanging down by the fuse panel might be

It appears to me that your dimmer switch has fallen apart, LOL