Add some ignored files.
Implement BG argument checking.
Implement PDF.