Make another try at graceful exiting.
Make another try at graceful exiting.

This still does use os._exit() after all coroutines have finished, but it's significantly less spaghetti code, and it makes it nicer to exit the program.

daboross/screeps-warreport