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.
Looks good. I had inclination for initialize arrays like this only. I think we should stick to this convention.