replaced game over window with game over stackpanel