I researched Instellar Republic, switched to Republic. Got to the next turn, and the election screen popped up. Only problem was that it was transparent and I couldn't get out of it (except ctrl alt del, which I then did). The debug.err is in the nextpost.
Then I reloaded, and *bam*. The same thing happened.
But now I can play and I (think) never get an election, because it keeps saying "elections will be held at the end of the next week". But I had about 5 or 6 turns by now. Hope this was a helpful explanation, because this is quite annoying

.