added: some replacements in preview mail
wrong error counting in logging page