Fixed some pdf issues. Added gitignore for pdf files.