more error checking in pdf and pdf_and_swf conversions
return code fix
Merge pull request #14 from willtp87/1.x.ingest

1.x.ingest