Minor updates to PreloadImages sample