I believe it was the po400, but after tightening up the knock sensor which was literaly a couple bolt threads from being free hanging, my check engine light has stayed off and it is running good again. My exhaust leak is just past the downstream cat so besides a little noise I dont believe it effects performance, its just a pin hole in a weld.What is the EGR code?
I am thinking that loose knock sensor was making the computer try to figure out what the heck it was supposed to do but it wasnt a failed part so it was thinking "it works nope not working, yup, nope ,yup, nope ,yup wtf????" And all it could do was toss out codes to say "hey stupid in the drivers seat, we got a problem"
I will do some more driving in the next couple days to make sure, but so far seems ok.