Remove empty line
Null terminate for debug output
Fix debug print of failed pxml's
Disable fugly stripping code
Take account end tag window when finding PXML.