Saving image_cache to file; closes #11
Also added some comments and verbose messages.