TOC Checkboxes

Added checkboxes to the TOC in the document view, and fixed some
alignment issues.