John K. Tener, Governor of Pennsylvania