Some master system fiddling to improve handoffs.
Fixed y_hooks using lexicographic not numerical ordering.
Some comment cleanups.