fix bugs and issues in EpubFile
fix issues in legacy Page and Database classes
remove dead code in DownloadFile
remove usage of extract() in WorkPage::makeWorkListItem()