Flip the texture preview when it's a framebuffer.
Grab the stencil buffer in softgpu debugging.
Use the full alpha bits for stencil in softgpu.

It works to increment and set the stencil, so it can't be high bits only.
Read softgpu stencil using existing funcs.

Slower but at least it's the same.
Use the slow way to get the softgpu texture.

So that it actually shows what the softgpu is using.
Wait better with broken win32 cond vars.
Merge pull request #4066 from unknownbrackets/debugger

GE debugger - fix some preview issues, softgpu stencil fix