Car: 91 318is
Non-stock item: DINAN chip (from ebay - possibly fake, but don't think it is)
I've had the car about 2-3 years now. In the past, had some cold idle issues, but minor (rough).
When I first purchased the car, I knew the first thing to do was replace all vacuum lines (e21 experience), so I went to realoem for P/Ns and ordered them all and replaced them all. This solved the symptom of the engine stalling on sharp left turns and smoothed the idle some.
Current Symptoms:
This happened on a long drive a month ago once - when gas released in neutral, would not idle and droped to a stall (little to no hesitation, like engine shut off). It "cured itself" after the car sat off for ~30 minutes. Did not reoccur until today.
On the way to school, same thing - would not idle and stallled imediately. On some restarts, would idle, but was high (~1500).
On the way home, again, would not idle.
Parked it at home, turned it off. ~ 5 minutes later, had my gloves on and searched for obvious vacuum leaks - none found. Started it up and it idled, but again was ~1500. After about 3 minutes, the idle began fluctuating from ~1500- 18/1900 in a very rhythmic manner. Looked like the computer was trying to compensate for something.
Also to test vacuum (not sure if this test works for the m42, but does for the m10), while idling, i removed the dipstick. There was absolutely no noticeable change. Was tempted to open the oil fill cap, but opted not to.
Other notes, not sure if related:
SRS light above center mirror is either flashing or on solid while driving
In picture:
Bolt @ A is COMPLETELY loose - as in I pulled it straight out w/o having to turn it. Tried to thread in by hand, but couldn't (might be because or resistance from rubber grommit). Oddly, NO signs of oil leak in this area or on that side of the head cover.
Bolt @ B has noticeable oil (fresh) around it and grim in that entire side indicates it has a slow leak and possibly other bolts on that side of the head cover. However, in doing oil changes myself, I have never noticed significant oil loss at all (maybe 1/4 - 1/3 quart per oil change @ ~4k miles w/ castrol 20w-50)

Thanks for your help in advance... any advice is very welcome!!