Listen to layerremove

In some cases, the layer can be removed before it is fully loaded
Merge pull request #13 from yohanboniface/listen_layerremove

Listen to layerremove