Base, Codec, Codex, Mod, hex   :   various changes and bug fixes.