Added xml datatype to loadSchema

Also changed function declaration style
Copy paste fixes

Copy paste now works reliably, as long as the structure tree is used to
make selections.
Added selection tab to view what is actually currently selected.
New styles for structure tree nodes to differentiate selection types.
Removed "empty tag" tags.