The ECU needs a tach signal in its engine management calculations. If the tach signal isn't making it back there, expect weirdness. When you used your diz, you said the CEL went away, but did it run right? If not, probe the ECU harness' CAS signal wires to the ECU. The wiring diagram is on my old civic page if you need the pin numbers.