FlxEmitter refactoring: see PR comments