Typo
Fixes #5: layers being 'cleared' were still hanging on to the layer object, so set them to null after clearLayer() call