And to the very clever ones that are ready to hang the captain because he is ultimately responsible as the law states: Don't be so quick! Aviation is a team game. Lots of thinks happen in the background beyond any control whatsoever by the captain. The captain however has to deal with the consequences from other people incompetence.
Precisely. To those who complain about "overpaid bus drivers", it's worth remembering the old legal adage that still stands: No matter what, "It's your baby, Captain!". The buck does indeed stop there, at the front end.