  */
 print("Scheduling mobility events... ", terminator: ""); fflush(stdout)
 simCity.scheduleMobilityAndDetermineBounds(fromTSV: &fcdTSV, stopTime: configStopTime)
-print("okay")
+print("done")
 
 // Store inner city bounds from configuration file
 simCity.innerBounds = cityInnerBounds


	// Execute the event
	nextEvent.action()
}
print("done")


// Cleanup stage events

var nextTargetPercent: Int = 0 + progressIncrement
var nextTarget: Int { return nextTargetPercent*maxRunTime/100 }

var nextEventIndex = 0
mainEventLoop: repeat {
	// Pop the next event in the list
	let nextEvent = simCity.events.list[nextEventIndex]

	// Update current time
	assert(nextEvent.time > simCity.events.now)
	simCity.events.now = nextEvent.time

	// Print progress bar
	if simCity.events.now.nanoseconds > nextTarget {
