Fix extraneous output after multiple runs of the extension. Upgrade to c...

...urrent JDOM 1.1.3