I know that for one thing, the O2 sensor could be bad, but my guess is your distributor cap is going going gone... or your spark plugs and/or spark plug wires are going as well.. This creates a major hesitation problem when accelerating, but creates no problems usually when idling and starting the car..
FOUNDER of the BMW-Forums Michigan Club
<span style='color:green'><a href='http://www.cardomain.com/memberpage/458339' target='_blank'> Car Domain UNFINISHED </a> </span>
<img src='http://www.bmw-forums.com/forum/uploads/post-4-1078289877.jpg' border='0' alt='user posted image' />