first thing i would do is find a ECU outa car in the salvage yard that has less than 150k on it snatch the ECU an tell the salvage yard that u didnt find what u were lookin for if they seem to ask but prob. wont - cause they will prob. want like 75-150 for the ecu - see if that solves the prob. if not then u know its not the ecu.
let us know how it goes - or if u have a friend ask him if u can borrow his/her ecu for a few to try an fix ur problem.
that way is cheaper than starting to replace everything even though the things u are replacing might not be the problem.
just a idea that i have seen work with 2 other cars with the same problems. one was a 2.2 cavy an the other was a crx with a 1.6 vtec both were solved by that problem. might as well give it a whirl

GOOD LUCK!