In my case bad idle issues turned out to be related to the EGR and its metal pipe. This caused rough idle issues. I also had a high idle issue and occasional no starts which ended up being the coolant temp sensor.