Bug 320814 Minimized stacks are 'restored' on shutdown
bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/minmax/TrimStack.java
me = ((MPlaceholder) me).getRef();
					boolean show = item.getSelection();
					partService.activate((MPart) me);
					showStack(show);
				}
			});
		}
		if (hostPane != null && hostPane.isVisible())
			updateSelection(theStack.getSelectedElement());
		trimStackTB.pack();
		trimStackTB.getShell().layout(new Control[] { trimStackTB }, SWT.DEFER);
	}
	void restoreStack() {
		showStack(false);
		
		Display.getCurrent().removeFilter(SWT.MouseDown, mouseDownListener);
		theStack.setVisible(true);
		theStack.getTags().remove(MinMaxAddon.MINIMIZED);
		toolControl.setToBeRendered(false);
		eventBroker.unsubscribe(toBeRenderedHandler);
		eventBroker.unsubscribe(childrenHandler);
		eventBroker.unsubscribe(selectionHandler);
		eventBroker.unsubscribe(widgetHandler);
		if (hostPane != null && !hostPane.isDisposed())
			hostPane.dispose();
		hostPane = null;
		if (trimStackTB != null && !trimStackTB.isDisposed())
			trimStackTB.dispose();
		trimStackTB = null;
	}