public void destroy() {
		super.destroy();
		layerBasket.clear();
		if (gbBufferArray != null) {
			for (GayBerneParticle p : gbBufferArray) {
				p.setModel(null);
				p = null;
			}
		}
		setModel(null);
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				destroyPopupMenu(defaultPopupMenu);
				destroyPopupMenu(gbPopupMenu);
				defaultPopupMenu = null;
				gbPopupMenu = null;
			}
		});
	}