Merge pull request #1 from kevinburleigh75/master

Faster processing of Patent Application/Grant xml
Merge pull request #2 from kevinburleigh75/master

Better error-checking; ptoids field; tweaked usage
added comment