One more thing. All of that is for when the car is stopped or barely moving (again - based on the thresholds mentioned early on in the post). To tackle idle swings outside of Idle Mode, you're dealing with the base timing tables, throttle cracker, and throttle follower for the most part. So, get it to idle while sitting still first. Then, worry about rolling idle.