fix image caching; images now load waaaay faster once they are cashed