made windows stack traces 10 times faster

This change makes the tracing part of stack tracing on windows about 10 times faster. This will especially impact throwing exceptions, which will be a lot faster now.