Tzzbox: add comments to code, in preparation to refactoring