Added RAII wrappers around SDL_Texture and SDL_Surface (fixing a few leaks in the process).