@Override
    public void onStop() {
        Screen currentScreen = nifty.getCurrentScreen();
        if (currentScreen != null) {
            currentScreen.endScreen(null);
        }
    }
@author Nehon
@deprecated use GuiEvent instead
jme3-niftygui/src/main/java/com/jme3/cinematic/events/GuiTrack.java