players now alternate correctly in different browser windows