All use cases for demux now work.
Cleanup pass.

- Renamed the various events and handlers to better match what they do.
Added header-only int-types module to meta lib.