added severals improves - one for all preload images (also in styles)