Changed (almost) all images to pgf