PolycodePlayer cleanup