Fixed some bugs in KairosController, mostly when deleting elements
Cleaning of XML import/export code
Added preliminary XML export of solutions