Text this: Stability enhancement of a self-amplified spontaneous emission free-electron laser with bunching containment