Steven Pinker's book The Better Angels of Our Nature: Why Violence Has Declined addresses most of this stuff. Super interesting book. Seems like things were super horrible in the past. It seems that most people think the world is getting worse and more dangerous over time but the opposite is true.