Rolled my own Mime-type generator. Added some wonky threading.