DMG decompression abstraction & misc