Collective instabilities and high-gain regime in a free electron laser