Hg 113 support for subpages

Refactor code to work with subpages
and some better support for comments (but this still needs some love)
Why to `toString()`? `page=001` would change the page in this case