New Zealand stocks ended with a slight gain but investors were largely sidelined. Source: NZ Herald Business News