fix error message and npe in exportToCore
Merge branch 'develop' of https://github.com/hauntedhill/SE-CAT.git into develop