[WIP] refactored MultiplexManager, currently broken