Scattering amplitudes in gauge theories: progress and outlook