Funny you mention this..
Other day I had driven my M42 just fine to 7-11 and back. A few hours later, upon startup, the engine was idling wild. Jumping from 500-2k, surging up and down. Had zero time to mess around, and borrowed a car to get to work.
Check engine popped up, and I pulled the code. Got 1215: AFM..
My dad the next day (while I was at school), fiddled with the AFM, and unplugged and replugged the circular connection to the AFM, and voila!