Improved the Object buffer so that now it can store 3d graphics more safely.