code clean up
spell correction
converted jdom1 to jdomv2
added path to lib jdom2
lib containing jdom2 binary
added null check
layout fix