This is a WIP patchset to further improve the resource manager. The configure bits are the one that need more work: How do we detect zlib (and the required library to link to) on the host system? - Andreas