fixes buffs losing some of their data on create.
pub-sub inspired units now inherit from EventEmitter for better readability/maintainability