The resource view will now maintain its selection
Fixed bug where currentLayer was not being nulled out after deletion of
final layer