Thanks everyone for the kind words. Not posted for a while as I've had a few days off tinkering and looking on here; I was starting to feel it had taken over my life!
But I'm back, but having issues getting it running properly.
I've checked for inlet vacuum leaks and eventually found one of the Ccv hose connections wasn't pushed home. As I'd removed some air filter box and ducting thought I'd clean the maf with electrical contact cleaner. It has been immersed in flood water so thought it prudent.
Got it all back together and fired it up and after a could of seconds of hunting it smoothed out and idled really nicely. But then it started misfiring. What a fear inducing nose that is!
P0300, P0303, P0305, P0306 which all relate to misfires.
I've done a smoke test on it, of sorts. I removed the air filter box and maf and zip tied the wrist of a latex glove over the inlet ducting. Attached the outlet of a hand air pump to one (cut off) finger of the glove and pumped smoke in. The glove inflated which I believe shows I have no leaks. It did very slowly deflate over about two minutes but I think this is likely because the glove seals weren't prefect. I removed the oil filter cap and the pressure released.
I also tried the same test with the pump attached to the dip stick tube and got the same result.
I think the next step is to replace the MAF?
I've taken it for a short test drive. It only misfires at idle and it also hunts or stalls at idle. Disconnecting the MAF seems to make little difference other than throwing codes. P0102, P0113.
It also occasionally throws P0056 but did this before the engine change. Exhaust 02 sensor.
Any thoughts on what to do next. If it needs a MAF I'll obviously get one, but their pricey and I don't want to just randomly start buying parts, the bills are adding up.