State, local elections offer good news for democracy