Update VS projects
Update def file
Match up invocations and declarations
Backport stack overflow handling
More WIN32/COREE fixes
Don't use Interlocked*64 on x86