add tid and gid in status page
various bugfixes