If you are pulling a code 9 from your cel, it is for: CYP Sensor (Cylinder) defective circuit or unplugged / defective sensor
The high idle can be due to various things, I would first start w/ some soapy water and spray all vacuum hoses and TB and intake manifold area to see if you may have a vacuum leak.