Better checking of slideshow initialization