3d editor view is now saved when the PApplet is destroyed