Fix loading on Chrome

We need to defer configure/draw till after we've loaded the image.
Consolidate code for an "image window"