This PR changes no code, functionality wise. It does:
- move things around to avoid jumping between
public:andprivate:multiple times, - rename one method which was awkwardly first-letter-lower-case (
copyStats), - shrink one-liner methods into one line,
- switch to Doxygen compatible comments, sometimes moving comments to be same-line.