public static void exit() {
        quitToMenu();
        
        //cleanly exits if on windows or mac
        if(GetOS.isWindows() || GetOS.isMac()) {
            System.exit(0);
        }
        //not so clean, but that is because linux is superior
        else {
            System.exit(0);
        }
    }