public boolean initGUI()
	{
		InventoryOpenEvent ioe = new InventoryOpenEvent(this);
		Bukkit.getPluginManager().callEvent(ioe);
		if(ioe.isCancelled()) 
			return false;
		cont.setLayout(ContainerType.OVERLAY).setAnchor(WidgetAnchor.CENTER_CENTER).setWidth(width).setHeight(height).setX(-width/2).setY(-height/2);
		cont.addChild(extend.getBackground().setPriority(RenderPriority.High));
		for(int i = 0; i < slots.size(); i++) 
			cont.addChild(slots.get(i));
		for(int z = 0; z < extend.getWidgets().size(); z++)
			cont.addChild(extend.getWidgets().get(z));
		pl.getMainScreen().attachPopupScreen(popup = (PopupScreen) new GenericPopup() 
		{
			@Override
			public void onScreenClose(ScreenCloseEvent e)
			{
				onClose(e);
			}
			

			@Override
			public void handleItemOnCursor(ItemStack is) {
				if(is.getTypeId() == 0 || is.getAmount() == 0) return;
				eject(is);
			}

			@Override
			public void onTick() {
				super.onTick();
				InventoryWidget.this.onTick();
			}
		}.attachWidget(MorgulPlugin.thisPlugin, cont));
		return true;
	}