added image preloading and sharper thumbnails