Fix a few epub issues

Issue #139