add more robust download functionality; convert to new API in Stexaminer::graphsvg