FL-295: fixes to xchat, added xchat-glib.patch