It might be better to have ImageProcessor just call a contextlost callback of some sort to let ImageEditor know when this happens?  That way we'd have some chance of aborting the image save in getFullSizeBlob() and doing something sensible, though I don't know what that is.