Collective effects on the performance and stability of quantum heat engines.