Fixed url replacement for flash.
Fixed glossary export.