Computer doesn't do a last move any more if the game is over
Make sure we update the main scene before displaying the game over message
Added undo to the gui and fixed a memory leak.