Fixed dumppdf.py issues.
Code cleanup.
Documentation updated.