logtype stream operator and old comments cleanup