application state export/import implemented, one error at import viz TODO

TODO at xmlhandler.cpp