Stop in for a cup of coffee
On the headlight switch, it does not need to be connected to anything. It can be used as a extra ground.. The other looks like a RFI filter. not needed unless you are using an AM radio. Radio Frequency Interference Filter.