fix up log levels, have pdfgenerator work on old locked pdfs