separate lwjgl display code from nuit