Since no one tried to help you I'll give it a whack!
A momentary interuption in power means at some point the ecu did not recieve any power! Try to clear your code, to do this remove a battery cable for awhile or else take out the "efi" fuse. Check your AFM again and all your lines, pcv,vac ...! Sometimes and I repaet sometimes if a AFM is going bad, lightly tap on it with a screwdriver, and look at your connections at you AFM, I've seen them get all boogered up, which will haunt you for days!
Make sure you positively got all the oil out of everything!
Hope this helps ya!