Moved lwjgl code