Key window.players by the playerId

Move from an array to a dict.