Tight Senate race, ongoing litigation, counties with differing rules set the stage for chaos in Pennsylvania