Added proper graph export and support for package 'pmreports' styling