Flare surges, puffs and type III bursts