gdi_display_driver::create_window: cleaned up, added remaining error handling.