Use unique_ptr for SDL surfaces and textures.