Adding error checking for Win32 window creation
Should patch up any potential access violations.