Removed unused Spice library and fixed Memory caching for images.