     var indexInImageset:Int
     var isLoading = false
     
-    var leftImage:UIImage?
-    var rightImage:UIImage?
+    weak var leftImage:UIImage?
+    weak var rightImage:UIImage?
     var leftAndRight:(String,String)?
     
     

        self.caption = Mission.currentMission().caption(self.imageset.title)
    }
    
    override func performLoadUnderlyingImageAndNotify() {
        isLoading = true
        //TODO do the left and right thing
        super.performLoadUnderlyingImageAndNotify()
    }
    
    func imageLoadComplete() {
        isLoading = false
        DispatchQueue.global().async {


extension Notification.Name {
    static let mwphotoLoadingDidEndNotification = Notification.Name(MWPHOTO_LOADING_DID_END_NOTIFICATION)
    static let mwphotoProgressNotification = Notification.Name(MWPHOTO_PROGRESS_NOTIFICATION)
}
