Made a small change in the error checking in theme_gsb_slideshow_view().