The codes are coming from the top front sensor. Check it's wiring.
Check IMRC operation. Try a good fuel injector cleaner. Consider replacing the intake gaskets. Since they are O-rings, they can go bad with age.
The roughness is probably just from the extra fuel being used.