             delayTime: delayTime,
             loopCount: 0
         )
-        
-        let gifmovieURL = regift.createGif()
-        //print("Gif saved to \(gifmovieURL)")
+
+        _ = regift.createGif()
 
         // hide menu
         self.statusItem!.image = nil

        if self.captureSession.canAddInput(captureInput) {
            self.captureSession.addInput(captureInput)
        }
        
        if self.captureSession.canAddOutput(self.videoStillImageOutput) {
            self.captureSession.addOutput(self.videoStillImageOutput)
        }
        
        if self.captureSession.canAddOutput(self.videoMovieFileOutput) {
            self.captureSession.addOutput(self.videoMovieFileOutput)
        }

        self.statusItem!.view = progressIndicator
        
        self.menuItemForStopDidClick(NSMenuItem())
    }

}
