Needed to make options available as parameter

Needed to make options available as parameter to purgeStack & _isAllImagesLoaded