Nick/image cache options

preferentially remove images from cache
increase cache size to 15MB
s/pruneOnlyImages/preferImagePruning