Score Dialogue sometimes spawns twice
Submitted by Mario Wenzel
Link to original bug (#724220)
Description
I have not been able to reproduce this reliably but sometimes the Score Dialogue spawns twice so that pressing "new game" creates a new game in the background and there's another score dialogue behind that so that you have to restart the game again.
If you press "quit" on the first dialogue, the game window closes and there's still another score dialogue behind that.
I haven't tried it but pressing "new game" on that should also cause a segmentation fault.
My best guess is that there's somehow a race condition between the callbacks that create the score dialogue.
Version: git master