<commit_before>package org.egordorichev.lasttry.desktop;

import com.badlogic.gdx.Files;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import org.egordorichev.lasttry.LastTry;

public class DesktopLauncher {
    /** App main */
    public static void main(String[] args) {
        LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();

        config.width = 800;
        config.height = 600;
		config.vSyncEnabled = true;
		config.resizable = false;
	    config.addIcon("Icon.png", Files.FileType.Internal);

	    if (args.length > 0 && args[0].equals("-d")) {
			LastTry.release = false;
		}

        new LwjglApplication(new LastTry(), config);
    }
}<commit_msg>Added extra debugging feature. Prints stack-trace on program exit<commit_after>package org.egordorichev.lasttry.desktop;

import com.badlogic.gdx.Files;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import org.egordorichev.lasttry.LastTry;

public class DesktopLauncher {
    /** App main */
    public static void main(String[] args) {    	
        LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();

        config.width = 800;
        config.height = 600;
		config.vSyncEnabled = true;
		config.resizable = false;
	    config.addIcon("Icon.png", Files.FileType.Internal);

	    if (args.length > 0 && args[0].equals("-d")) {
			LastTry.release = false;
			// Print the stack-trace when the program exits
		    System.setSecurityManager(new ExitDumper());
		}
        new LwjglApplication(new LastTry(), config);
    }
    
    private static class ExitDumper extends SecurityManager {
    	@Override
    	public void checkExit(int status) {
    		Thread.dumpStack();
    	}
    }
}
{'fraction_non_alphanumeric': 0.10967741935483871, 'fraction_numerical': 0.008602150537634409, 'mean_word_length': 3.550122249388753, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4823508', 'n_tokens_mistral': 634, 'n_tokens_neox': 577, 'n_words': 117}