         }
     }
     
+    /// Exports a loaded performance via share-sheets. Ultimately not very useful!
     @IBAction func exportLoadedPerformance() {
+        // TODO: Delete this function if not used soon.
         if ((state == ChirpJamModes.loaded) || (state == ChirpJamModes.playing)) {
             print("JAMVC: Exporting the loaded performance")            
             if let csv = loadedPerformance?.csv() {

        print("JAMVC: view loaded")
        self.recordingProgress!.progress = 0.0
        self.updateUI()
        if (state == ChirpJamModes.loaded) {
            print("JAMVC: opening Pd file for loaded performance.")
            (UIApplication.shared.delegate as! AppDelegate).openPdFile(withName: (loadedPerformance?.instrument)!)
        }
    }
    
    /// Load a ChirpPerformance for playback and reaction

        self.updateUI()
    }
    
    /// Increment the recording progress bar by 10ms; called automatically by timers.
    func incrementRecordingProgress(_ : Timer) {
        self.progress += 0.01;
        self.recordingProgress?.progress = Float(self.progress / self.RECORDING_TIME)
