1) erratic rev counter
2) does not idle all of a sudden
Most likely cause would be a vacuum leak if the check engine light has not come on yet. Check engine light on? You will need to have the diagnostic trouble codes scanned. Most any local auto parts dealer will do this for free. Just post the codes below once you have them.