Market close: Mixed bag, Wrightson gains as Fonterra units snapped up