added pdftopng and removed xterms stuff