Introducing PDFObjectNotFound
Fallback when /Pages does not exist.
Prevent crash with empty layout box.
Added fallback for broken PDFs.