Centralize ubigraph init, small improvements