Implements SStructure deletion + undo/redo actions