fixed quitting and sdl video references