Tragedy brings out best, worst of media