I'd go ahead and reset the comp first. That helped with me bad idle/throttle surge. Sounds like it could be the IAC valve or maybe even the throttle position sensor (TPS) if you saying the RPM's rise when coming to a stop.
Might want to look into the
TH fix as well.
-neal