Have you touched or replaced the IAC or the TPS yet?

Both of those do control idle speed and send signals to determine rpms and many other things.