Fixed: Remove debugging messages
Fixed: Newlines in attributes are now entity encoded
Fixed: Staff groups are now arranged and ordered properly.

Note: staff sub-groups are not yet supported!

Also, fixed a bug where a space element could take the @visible attribute.
Fixed: More info in xml:id to further prevent ID collisions