Maybe not a great ending, but one that definitely works because it make a moral point in a tough, unflinching way. Plus that nice little Third Man homage. Start it around the 3:20 mark or thereabouts.