Despite its smattering of electoral victories a few weeks ago, the Democratic Party has two problems that threaten its long-term viability.