this.exit = false;
this.resolutionChanged = false;
this.currentLoaded = null;
this.mouseInputEventProcessor = new MouseInputEventProcessor();
this.lastTime = timeProvider.getMsTime();
this.niftyMouse = new NiftyMouseImpl(newRenderDevice.getRenderDevice(), inputSystem, timeProvider);
try {
loader = new NiftyLoader(timeProvider);
loader.registerSchema("nifty.nxs", ResourceLoader.getResourceAsStream("nifty.nxs"));
loader.registerSchema("nifty-styles.nxs", ResourceLoader.getResourceAsStream("nifty-styles.nxs"));