I used PVC tubing with an elbow at the top and a short tube to lead the wires to the masthead opening, a T at the steaming light with a PVC tube inserted in it through the wiring hole in the front of the mast then cut flush, all wires in the mast are in conduit. To mount the conduit to the mast I cut strips of 2" PVC that were about 2” wide and 6" long, heated them and flattened them, next I reheated them clamped them in a vise and curled the end around a piece of the mast conduit. This gave a large contact surface on the strip to be glued with PVC primer and glue to the conduit then the excess was trimmed off. I laid the conduit out by the mast and aligned the tabs with mast track mounting pop rivets on about 4’ centers glued the tabs to match these holes, removed the pop rivets and when the conduit was inserted in the mast the T for the steaming light was lined up and the tube for the steaming light inserted (this prevents halyards from abrading the wires where they pass between the forward halyards) and the self tapping screws were secured in the tabs through the mast track holed (I had to drill pilot holed in the tabs after the conduit was in the mast to get the screws to start. A properly sizes drill bit with the tip ground to a chisel tip worked best) If you can place a 6' piece of rebar with a line attached to pull it down as you work in the top of the conduit this will help hold the conduit down while drilling the tabs and inserting the screws. Use epoxy on the screw heads to prevent them from backing out or loosening.
After four years of hard sailing and 2100 miles of trailering, no problems with noise, wiring or halyard problems.
This is a PITA to do but has worked well for me thus far.