Help us help you. By posting the year, make, model and engine near the beginning of your help request, followed by the symptoms (no start, high idle, misfire etc.) Along with any prevalent Diagnostic Trouble Codes, aka DTCs, other forum members will be able to help you get to a solution more quickly and easily!
I'd suggest a visual on the MAF wires for any debris/contaminants. Remove the MAF from the intake tube to get a good look.
If you find any, clean the wires carefully with MAF cleaner. Q-tips are pretty foolproof. You can use a small pick or a pocket screwdriver, but it takes a steady hand.
Did you happen to see what the stft was doing after you cleaned it? Those blocks off idle will have to readapt if the cleaning fixed it and you'd see the stft going negative off idle until the ltft set a new base line. Of course that may not have been a fix, but that was the first thing that came to my mind too.