Bug fixes.
Logic for labeling section ancestors.