updates to phantom pdf print script, arguments for width/height
pdf background size rounding error
ensure pdf pages are never zero-height
wait for document to load before triggering pdf layout