- make render() work even when there is no currentScreen available (removed NPE) - don't reset currentScreen to null in prepareScreen so that you can actually see onEndScreen() effects when using loadXml to switch screens (both "bugs" discovered by marc - thanks pal)
- make render() work even when there is no currentScreen available (removed NPE)
- don't reset currentScreen to null in prepareScreen so that you can actually see onEndScreen() effects when using loadXml to switch screens
(both "bugs" discovered by marc - thanks pal)

bgroenks96/nifty-gui,relu91/nifty-gui,mkaring/nifty-gui,xranby/nifty-gui,void256/nifty-gui,atomixnmc/nifty-gui,Ryszard-Trojnacki/nifty-gui,Teencrusher/nifty-gui,gouessej/nifty-gui,void256/nifty-gui,bgroenks96/nifty-gui,Teencrusher/nifty-gui,atomixnmc/nifty-gui,Ryszard-Trojnacki/nifty-gui