A leader needs grace under pressure. The candidates have been tested in their crisis management and stress-handling abilities even before gaining the office. Very little in this world is fool-proof. Being that we are humans, many of whom can be categorized as fools, we can find a way to mess up any system. The election system included.
Partisanship tends to override the good of the people.
It's going to take some people, or, even better, one of the candidates giving in for the good of America. Someone has to lose. The sooner we figure out who, the more stability our country will have.