fix bug in TOC construction in cre.cpp

first toc entry should start with index 1 instead of 0
Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into new_ui_houqp
Merge pull request #715 from houqp/new_ui_houqp

bug fix for TOC construction in cre.cpp