public void populateMapWidget()
	{
		WorldMapObject o;
		for (core.Point pos: p2o.points()) {
			QApplication.processEvents();
			o = p2o.get(pos);
			System.out.println(o);
			if (o != null) {
				if (o.getImageFile() != null) {
					System.out.println(o.getImageFile());
					mapWidget.objectAt(pos.y, pos.x).setLayer(o.stackLevel(), new gui.WidgetImage(o.getImageFile(), 64));
					
					System.out.println(o.getTooltip());
				}
				mapWidget.objectAt(pos.y, pos.x).setToolTip(o.getTooltip());
				System.out.println("populate "+pos.x+", "+pos.y+" - "+o+"  ~~~"+o.getColor());
				if (o.getColor() != null) {
					colorChanged(o, o.getColor());
				}
			}
		}
		for (core.Point pos: p2h.points()) {
			QApplication.processEvents();
			o = p2h.get(pos);
			if (o.getImageFile() != null) {
				mapWidget.objectAt(pos.y, pos.x).setLayer(o.stackLevel(), new gui.WidgetImage(o.getImageFile(), 64));
				mapWidget.objectAt(pos.y, pos.x).setLayer(4, new gui.WidgetImage(o.getColor().hfFile));
				mapWidget.objectAt(pos.y, pos.x).setToolTip(o.getTooltip());
				//mapWidget.objectAt(pos.y, pos.x).setToolTip(o.getName());
			}
		}
		ready = true;
		//mapWidget.objectAt(9, 9).setLayer(2, new gui.WidgetLabel("1000", Color.BLUE));
	}