Updated for new HtmlSpanner API
Work-around for CSS resolving issues.
Fix to deal with updated epub-lib