[#60321454]Converted all SDL_Surface allocated within the main function to shared_ptr