- fixed the import system to be able to import references from new XML
- fixed the export system due to some reference standalone XMLs having wrong IDs
- fixed some issues with unit title having math elements