Headlight Issues

Right then, found a bad ground....in fact, the ring terminal was completely disconnected. What baffles me is that I don't see any missing screws or ground lugs it could have fallen off of. The only ground lug near by had clearly not gone loose, but I put it on there and now the issue's gone. (I did have to replace the dimming switch though.)

Took the chance to replace the headlights as well...the old ones were pretty dim, though now I wonder if the ground issue might have contributed. (Never had any flickering of em though.)

Thanks for help all, sorry that it turned out to be a simple issue.