merged in Ricardo Pedroso's new pdf2swf gui