webpub: clean up comments, add todos, ref #9