If you wish to include with other UI's and not have it crash then you must edit the Eq2ui.xml file and add
Code:
<include>yourfiename.xml</include>
anywhere before </Page>
and it should run fine
but if you are using eq2ui_mainhud_mainchat.xml for the filename then you probably do have a problem with the code