if you unplugged the maf and it ran okay then its probably the maf, but youre right. a too lean code is usually a vacuum leak and the idle will be jumpy.