More log output on window creation failure.
Use make_current before initializing glew is necessary.
Render device: flush
Windows window event handling added.