Hi, I'm a newby too, interesting problem, you could be right about the maf, my 1st bmw was a e28 528i, it had a sticky flap in the maf, it would experiance a loss of power when warm and under pressure (ie load,or hills). Or you have only had the car a short while, try changing the fuel filter, it may be partially blocked (should be changed every 12 months), but this doesn't explain the engine check light comming on and off. 02 sensor is not used by the injection system when the car is under excelleration when the engine needs an enriched fuel mixture, but is used to moniter the air/fuel ratio when cruising to maintain a ratio of about 12.5 to 1, but with the number of K's it needs checking or replacing. Hope this helps