more hxml tweaking
make some index inspection use length rather than null comparison