Improve recovery from DXGI errors.
Merge D:\Users\jdarpinian\src\latency-benchmark into reference-test
Fix Windows-specific issues: \\ in paths, prevent GYP from trying to use Cygwin, workaround MSVC's inability to allocate a dynamic size array on the stack.