pic 1 - your A/C pressure switch wiring
pic 2 - I think it's part of the ESC, maybe the knock sensor?
pic 3 - never seen that before. see below
on pic 3, I see a wiring loom, but no wires, now I am thinking that is the piece that snaps into the loom hole on the valve cover, yours is missing...