Like the others have said, cover those bare wire sections with tape or heat shrink tubing.
I relocated the 1-2-Both switch to the side of the battery compartment. At the same time I took it out of the charging system so it's now just a battery selector switch. House, Reserve, Both. Shorter cable runs, more aligned with current ABYC, and frees up space on the distribution panel.