Another quick update. I think that running the engine with no exhaust is starting to annoy the neighbours a bit! I realised I couldn't tune the car properly without a working idle air control valve. So I decided to build the circuit for it.
The underside of the Megasquirt now looks even worse!

Hmmm... not the tidiest, but it did work, eventually!
Two problems - the first was that I wired the valve up backwards with the opening and closing the wrong way round. I didn't have a pinout for the valve anyway, so I just guessed. Swapped them round inside the ECU as that was the easiest place to undo and redo it. Then I found that the ECU power was dropping out every time it tried to energise the valve. Finally it dawned on me that I'd used the wrong 12v source for the controlling circuit. I'd used "sanctioned" 12v, which is a sort of smoothed (but not regulated) 12v, but it appears not to allow much current. I switched to using 12v raw and it all worked!
I proved the valve was working and used it as a simple on/off device. That doesn't seem to work properly - I need to have the valve open a bit under normal idle conditions, so now I will try PWM closed loop idle with the valve. I ran out of time after fitting the exhaust to do any more tuning. I have a bad exhaust blow from somewhere near the turbo but I can't keep the engine running without feathering the accelerator, so that will need to wait until I've tuned the IAC.
I was also finding that the air/fuel ratio was a bit all over the place, generally tending towards the rich side, so I did some research on injector dead times. I originally used the manufacturer's specs, but maybe wrongly. I found someone else that used Megasquirt with the same injectors. They'd found the injectors had a much lower dead time than I was using, so I think that's been throwing off all my air/fuel calcs. The dead time is added to the injector pulse width, so the injectors open for the time specified. If the dead time is too long, they will be open for longer than desired.
Andrew