sdl: better errors, window title null -> ""