Fixed a random crash in layer shutdowns.
Merge branch 'develop' of git://github.com/mousebird/WhirlyGlobe into develop