Improved auto table of contents, hide the TOC if headers less than 2