Incomes and inequality in the long run