More work on ConnectedTextures and beginnings of the API