Use object for myimages rather than array

For my purposes useing myimages as an object was more usable, so that I could get at each image by its name.