More fixes for editor. Add player.