Fix delete feature

You can now delete features from a d3 layer.  Also a fixed warning that appears after deleting all features from a layer.