 	simCity.events.list.removeFirst()
 
 } while simCity.events.now < simCity.events.stopTime
-print(" okay")
+print("okay")
 
 
 // Cleanup stage events
-print("Running cleanup events...", terminator: "")
+print("Running cleanup events... ", terminator: ""); fflush(stdout)
 for event in simCity.events.cleanup {
 	event.action()
 	if debug.contains("main().events"){
 		print("[cleanup] main():\t".cyan(), "Executing", event.type, "event\t", event.description.darkGray())
 	}
 }
-print(" okay")
+print("okay")
 
 
 // Successful exit

		let gisUser = gisConfig["user"] as? String,
		let gisPass = gisConfig["password"] as? String
		else {
			print(" failed", "\nError: Invalid database configuration.")
			exit(EXIT_FAILURE)
}

let databaseParams = ConnectionParameters(host: gisHost, port: String(gisPort), databaseName: gisDB, user: gisUser, password: gisPass)
let gisdb = GIS(parameters: databaseParams)
let buildingCount = gisdb.countFeatures(withType: .Building)
print(" okay")
print("\tSaw", buildingCount, "buildings in the database")



/**********************/


/* Process command line options
 */
guard Process.arguments.count == 2 && Process.arguments[1].hasSuffix(".plist") else {
