Polish

Miscellaneous updates, including a better dependencies and a reversion to the previous (superior) way of making previews (with a fix for MOBI)