sdl_window fixes.