Filling array of slides also before pre-init event

To allow extensions (e.g. async loading/processing) to use the list of slides in the preInitialize callback, the array is filled before this event (and filled again before the initialize callback).