Sprint plugin recovery, images disappear when you return to a page

This recovers the image plugin we used for the sprint. This was blown away with the testing branch, but it was the only one that sort of worked. Also, the real purpose of this PR is a fix for disappearing images whenever you return to a document.