Moved around some functions and testing erratic load of images.