fix for exceptions when not running in debugger
move exception-specific stuff into wseh. it now grabs the entry point and wraps it in a __try block (but only for the main EXE).
this works around issues with the previous SEH registration code (exceptions weren't caught in release mode when not running in debugger)