Changed term "Priority" to "Order" in simulation branch.
Fixed incorrect depth on saved branches;
Added debug info for some of the choices.