@shadowx
Well you can always put a 1 or 2mm cover since its flat against the 2040, it's a good idea I'll add the stl. (EDIT : I've added a lid to the project)
Everything depends of how you wire everything right like the rest of the printer.
Pg7 connexion cancel movement if you pull the wire and outlet is fixed on the frame.
For my part, printer's frame is link to ground and wires are solder to the outlet and cover with shrinkable tube. Exposed part are then finished with nail polish. Connection with the breakout cable are made with a 3 way nylon terminal block within wires crimped with insulated connector.