I had the same exact problem and the dealer found out my MAF went bad. Once replaced, all was better!

Good luck explaining it to the dealer, if you're under warantee. They had my car for 2 days trying to fix my problem. I know it wasn't TH, because when I pushed the clutch, the revs rose. I would be sitting at lights at 4k rpm.