added method to close game to guimanager