Gray, Commodores overcome early jitters, shut out Niagara