Platform Fixes

Add Checks on switching OpenGL-Contexts
Small changes on Windows PIXELFORMATDESCRIPTOR