The graphics engine now uses C++11's std::unique_ptr for memory ownership.