Sorry I didnt explain my self better. The wires are dressed which means they are of different lengths so when you wagle the ECU about you are stressing the shorter wires and this can lead to a breakdown in comunication,hence the car may see a fault and go into limp mode.So as I said if it work leave it alone
Cheers
The point is, it doesn't work.

If something is getting disturbed it indicates an intermittent connection and this might be related to the Lambda sensor fault.
Might be worth unplugging the ECU and checking the connector is clean. Also check any other connectors between ECU and Lambdas. (IIRC) there's another multiway connector between engine and body looms.
Taking the engine loom out of the cable trays and inspecting for damage might be worthwhile.
Difficult to say what caused the fast idle. IACV may have been opened by a duff connection but could equally be that the ECU saw and intermittent signal and opened the IACV to prevent a stall.
A peek at the live data while waggling things might show something. :-/
Kevin