more tuning of PDF; fix blank-page bug
another blank-page bug corner case