Updated with changes recommended by Cliff and Ville, the slideshow functionality works now. The exercise is still not "done", I will have to update the description amongst a few other things.