Added Exception Handeling in XML Parser

[*] Removed useless commented code
[*] Disabled more debug prints
[*] Cleaned up the XML parser, removed unused private methods