More Recording fixups

Fix the processing of recordings where the user uploaded an image rather than a document (I broke this earlier, whoops...)

Add code to handle pre-0.81 recordings that did not have the 'circle' or 'square' property on the 'ellipse' and 'rectangle' shape events.