When people in charge (be they pilots, gate agents, corporate types, whatever) realize that their customers are ALSO people, and communicate with them as such, it's amazing how much better things can go. But when they think of the customers as numbers on a spreadsheet, or inconveniences, or annoyances and treat them as such, that's when situations can go from poor to worse to worst. I hope you contacted United to compliment that Captain.