refactored XML parsing, added block comments display