public void removeImage(URL url) {
		ImageComponent c = null;
		synchronized (layerBasket) {
			for (Layered l : layerBasket) {
				if (l instanceof ImageComponent) {
					c = (ImageComponent) l;
					if (c.toString().equals(url.toString()))
						break;
				}
			}
		}
		if (c != null) {
			layerBasket.remove(c);
			getModel().notifyChange();
			if (!doNotFireUndoEvent) {
				getModel().getUndoManager().undoableEditHappened(new UndoableEditEvent(getModel(), new UndoableLayeredComponentOperation(UndoAction.REMOVE_LAYERED_COMPONENT, c)));
				updateUndoUIComponents();
			}
		}
	}