Make sure to destroy the renderer and window before quitting sdl