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

			println("renamed to: \(newFileName)")
		}
		clearTable()
	}
	
	

		//
		var dateStrings : Array<String> = []
		var renamedImageFileData : [NSDictionary] = []
		let count = imageFileData.count
		var current : Int = 1
		// iterate over images
		for image in imageFileData {
			progressIndicator.doubleValue = 100 * (Double(current++) / Double(count))
			var counter : Int = 1
			var baseDate: NSDate = image[dateKey] as NSDate
			var date = baseDate.dateByAddingTimeInterval(offset)
