 			println("renamed to: \(newFileName)")
 		}
 		clearTable()
+		progressIndicator.stopAnimation(self)
 	}
 	
 	

		progressIndicator.doubleValue = 1
		progressIndicator.startAnimation(self)
		//
		self.progressIndicator.startAnimation(self)
		let contents : [NSURL] = fm.contentsOfDirectoryAtURL(imageFolder!,
			includingPropertiesForKeys: [NSURLCreationDateKey],
			options: .SkipsHiddenFiles,

	}
	
	@IBAction func rename(sender: NSButton) {
		//
		progressIndicator.doubleValue = 1
		progressIndicator.startAnimation(self)
		//
		println("dateFromSelector: \(dateFromSelector.selectedRow)")
		println("useNewStartDate: \(useNewStartDate.state)")
		println("newStartDate: \(newStartDate.dateValue)")
