Huge reorg of how I handle headings, dfns, and links. Not finished, but in complete working state.