- removed HTML media src href URL preprocessing (all EPUB resources served via HTTP)
- fixed package base path discrepancy (known issue in ReadiumSDK, need to be careful with '/' prefix when comparing relative paths)
- NanoHTTPD server already spawns its own running thread, no need for app-level AyncTask
- general cleanup of spaggetti code, inconsistent if/else cascades
- URL query/fragment was not handled properly (escape when need to match relative path / manifest item)
- PS: I now have more success with audio/video playback (underlying MediaServer / StageFright / FFMPEG / AudioFling etc. errors), but I can still reproduce stalled playback or broken Media Overlay seek (audio.currentTime HTML5 API) very easily :(