image preloading improvements 

- new configuration parameter
- do not preload if not enabled