<commit_before>package emergencylanding.k.library.debug;

import java.util.HashMap;

import org.lwjgl.opengl.Display;

import emergencylanding.k.imported.Sync;
import emergencylanding.k.library.internalstate.ELEntity;
import emergencylanding.k.library.internalstate.world.World;
import emergencylanding.k.library.internalstate.world.WorldManager;
import emergencylanding.k.library.lwjgl.DisplayLayer;
import emergencylanding.k.library.lwjgl.render.Render;
import emergencylanding.k.library.lwjgl.render.RenderManager;
import emergencylanding.k.library.main.KMain;

public class WorldAndEntityTest extends KMain {
    private static Thread is, ip;
    private static boolean run = true;
    private static final int TICKS_PER_SECOND = 20;
    private static final int FRAMES_PER_SECOND = 120;
    public static final int DISPLAY_FPS_INDEX = 0, IS_INDEX = FPS.genIndex(),
            INTERPOLATE_INDEX = FPS.genIndex();

    public static void main(String[] args) {
        try {
            DisplayLayer.initDisplay(false, 800, 500,
                    "Testing EmergencyLanding", true, false, args);
            FPS.enable(WorldAndEntityTest.DISPLAY_FPS_INDEX);
            WorldAndEntityTest.startISThreads();
            while (WorldAndEntityTest.run) {
                WorldAndEntityTest.run = !Display.isCloseRequested();
                DisplayLayer.loop(WorldAndEntityTest.FRAMES_PER_SECOND);
            }
            DisplayLayer.destroy();
            System.exit(0);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
<commit_msg>Properly exit<commit_after>package emergencylanding.k.library.debug;

import java.util.HashMap;

import org.lwjgl.opengl.Display;

import emergencylanding.k.imported.Sync;
import emergencylanding.k.library.internalstate.ELEntity;
import emergencylanding.k.library.internalstate.world.World;
import emergencylanding.k.library.internalstate.world.WorldManager;
import emergencylanding.k.library.lwjgl.DisplayLayer;
import emergencylanding.k.library.lwjgl.render.Render;
import emergencylanding.k.library.lwjgl.render.RenderManager;
import emergencylanding.k.library.main.KMain;

public class WorldAndEntityTest extends KMain {
    private static Thread is, ip;
    private static boolean run = true;
    private static final int TICKS_PER_SECOND = 20;
    private static final int FRAMES_PER_SECOND = 120;
    public static final int DISPLAY_FPS_INDEX = 0, IS_INDEX = FPS.genIndex(),
            INTERPOLATE_INDEX = FPS.genIndex();

    public static void main(String[] args) {
        try {
            DisplayLayer.initDisplay(false, 800, 500,
                    "Testing EmergencyLanding", true, false, args);
            FPS.enable(WorldAndEntityTest.DISPLAY_FPS_INDEX);
            WorldAndEntityTest.startISThreads();
            while (WorldAndEntityTest.run) {
                WorldAndEntityTest.run = !Display.isCloseRequested();
                DisplayLayer.loop(WorldAndEntityTest.FRAMES_PER_SECOND);
            }
        } catch (Exception e) {
            e.printStackTrace();
        } finally {
            DisplayLayer.destroy();
            System.exit(0);
        }
    }

{'fraction_non_alphanumeric': 0.08924050632911393, 'fraction_numerical': 0.008227848101265823, 'mean_word_length': 3.1320261437908496, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3870338', 'n_tokens_mistral': 953, 'n_tokens_neox': 916, 'n_words': 174}