More or less finished new attempt to get depglobs