Title: Spatial structure and non-linear dynamics of light pulses in free-electron lasers