Updated to save settype, load images from binaries.