the sprayer bar bolts may have came loose causing a big drop in pressure up there, the car is a sealed system so when you open the oil cap its supposed to effect the idle. figure out the oiling problem before you change the head as it sounds like that part and gasket are good.