At first glance.
Take the EGR to some very high number, that will shut it off. For now.
Didn't get a chance to look at it too much.
You do need a few more parameters in your scan config. Like TPS
Also try and set the TC lock to some outrageous number also To rule out if it's TC lock thats causing the KR.
Gotta go get ready for work.