enable threaded mode, add pdf mime type