Got the save and restore functions working. Need to figure out why prism isn't being drawn