as some of these guys might remember, a few days ago i was having a similar problem - i wasn't sure if it was the chain skipping teeth or the cog slipping or whatever, but it only happened when, like you say, i was really mashing the pedals. i checked the cog and lockring, and they needed tightened, so problem solved for me. if you haven't already tried that, it's worth a look!