Found this in another thread.
The throttle plate etc can be cleaned easily with a carb cleaner spray can (Halfords £4).
First inspect the airfilter, replace if dirty and while its out, vacuum out the filter box.
Remove the air intake (jubilee clip each end plus two bolts onto spark plug/coil cover. Careful with the intake air temp sensor that is plugged into the intake - clean it while you are at it as it is used for cold mixture control!
At the left hand end, look at the MAF blade, if dirty, clean with Isopropyl acholcol SPRAY - don't touch it as it is very pressure sensitive.
Look down the right-hand hole and see the butterfly. Probably caked in black crap from 100,000 miles of crankcase breathing!
Clean with the spray plus a toothbrush wrapped in lint free cloth (hold the throttle open manually). Get is really clean so the blade can properly close off the intake.
Reassemble and then spray SMALL bursts of the cleaner to clean out the idle passages while idling. Rev up to clear out.
Should settle the idle and MIGHT fix your stalling.
Clean up crud from the two breather holes and the plastic pipe before refitting.
Clean up (carb cleaner) and lubricate (use ATF) the throttle linkage.
Now the ECU has a chance to control the mechanical stuff that sets the idle...
If it doesn't fix it, post again.