Added "prev_image" to prevent clear on Undo.
Merge pull request #22 from adamdehaven/loadImageFix

Added "prev_image" to prevent clear on Undo.