Window state not saved on shutdown
The window state (width, height, maximized) is not saved when the program exits because this is done in the SudokuWindow destructor, but the SudokuWindow is never destroyed. There must be a reference leak or cycle somewhere.