Add disqus threads and TOCs to doc pages. A few syntax style tweaks.