Added sub-list-items, TOC, flexible image caption placement.

As per discussion.