Implement pdf2swf job worker
Fix bugs and improve stability.