Enhancing the performance of a high-gain free electron laser operating at millimeter wavelengths