Design and operation of a collective millimeter-wave free-electron laser