bugfixes, better comet analysis output