Gratuitous addition of couts in order to identify what processes were going into critical sections at a given time. Needs more testing to make sure everything is playing by the rules, but otherwise running without stopping.