Id of the XML node to sign changed to Board001
XML nodes are copied between documents correctly. Previously used method Document.adoptNode() does not always work correctly but Document.importNode() does.
fixed possible NPE
logging