Added gh-issuedump
Major cleanup (near rewrite)

Adds xelatex support