public ChatHW(Widget parent, String title, boolean closable) {
		super((Widget) UI.instance.chat, title, closable);
		in = new TextEntry(new Coord(0, sz.y - 20), new Coord(sz.x, 20), this,
				"");
		in.canactivate = true;
		in.bgcolor = new Color(64, 64, 64, 192);
		out = new Textlog(Coord.z, new Coord(sz.x, sz.y - 20), this);
		out.drawbg = false;
		log = new TextLogger("chats/"
				+ title.replaceAll("[^$A-Za-z\u0410-\u044f0-9_]", "_") + ".txt");

		if (cbtn != null) {
			cbtn.raise();
			if (title.equals("Area Chat"))
				cbtn.hide();
		}
		setsz(sz);
	}