In your original test, the engine seemed to run a little too rich.
Since you've installed a new O2 sensor ( with a noticable improvement ), your problem may be solved.
A dying ( or dead ) O2 sensor can often result in an over-rich fuelmixture, as indicated by your initial test results.