Improved emit of pbplayer.
Added utils file