Testing 3d rendering, adjusted cleanup methods