HB reported that while images automatically resize themselves to the image component area when you load a file, that doesn't happen when you load an image into an existing or new file. I've now abstracted the resize component into a separate function, and added a call to it when you load an image; I also tweaked the resizing code to make it more precise about the resizing (it wasn't taking account of the size of scrollbars on the image display component).