Made the layer_control be aware of the advancment of layers