Democrats held onto seats in congress and the Illinois General Assembly. But Republicans found reason for hope.