Well you opened up pandora's box on that one!
Like you stated it could be a bunch of things.
I searched it and it would be a good read for over the weekend!
Lots of posts on it on other forums with no one direct answer.
It could be from you changing the fuel filter and cleaning the MAF.
A battery disconnect will only be a temporarily fix it if there is another problem.