John Galbraith, 1846-1914