replaceAll replaced with a simple function
better cover finding code
better ePub cover detection