made it so no crash if no target
fixed the ordering of materials
Fixes
made the dir configurable
Move unit_xml stuff to server side
update
moved unit_xml stuff to server side, fixed a couple of networking problems
movied the import and remove prints
hehehe un.isnull?`
very odd