Win32 basic initialization

Initialization of Win32 with WGL and EGL.
Compile with MSVC

Move variable declarations to beginning of block. Use alloca instead of
dynamically sized arrays.

NOTE: only Win32+WGL code, not EGL
Win32 event handling