I used MobiUnpack, but I see I had found an old version from 2010. To avoid further possible confusion caused by me, would you mind posting your original source code, rather than me extracting it from the mobi? What I got from that was: