Better XML import and export function

Closes #10
Closes #31
Exclude deleted lists from import