You guys are totally missing my point.
1. No, I don't think I'm using trace improperly. It works just fine until it hits certain things, and then it goes bonkers. There's nothing magical about using trace once it's on, it's simply on, so I need to make sure it doesn't hit any of these certain things.
2. By "emulate alt-f4" I was trying to express that it suddenly closes without any errors. It saddens me that anyone took this differently.
oke so, thanks for posting and maybe I am using trace wrong, but if more people could stay on-topic that would be great.