multiple updates

move pdfmime to top level, respond to multiple issues