Added sections option to split TOC into sections.