public static void init(){
        Toolbox.debugPrint(TAG, numLines + "");

        tb = new TextBox();
        lines = new Label[numLines];

        tb.setX(3);
        tb.setY(CMConfig.WINDOW_HEIGHT - 17);
        tb.setHintText("Enter Command");
        tb.getLabel().setFont("data/roboto_small.fnt", "data/roboto_small_0.png");

        tb.setListener(new GenericListener<Integer>() {
            @Override
            public void onEvent(Integer param) {
                if(param == Keyboard.KEY_RETURN){
                    String[] cmd = tb.getLabel().getText().split(" ");
                    if(cmd.length > 0){
                        if(cmd[0].equalsIgnoreCase("loadscript")){
                            if(cmd.length >= 2){
                                File script = new File(cmd[1]);
                                if(script.exists()){
                                    ScriptManager.doScript(script);
                                }else{
                                    Toolbox.errPrint(TAG, "Invalid File");
                                }
                            }else{
                                Toolbox.errPrint(TAG, "Usage: loadscript (Path)");
                            }
                        }else if(cmd[0].equalsIgnoreCase("do")){
                            if(cmd.length >= 2){
                                ScriptManager.doScript("ConsoleScript", cmd[1]);
                            }else{
                                Toolbox.errPrint(TAG, "Usage: do (Script)");
                            }
                        }
                    }else{
                        printLine("Please enter a command");
                    }
                    tb.getLabel().setText("");
                }
            }
        });

        kl = new KeyboardListener() {
            @Override
            public void onKeyPress(int key) {
                if(key == Keyboard.KEY_GRAVE){
                    toggleVisibility();
                }
            }

            @Override
            public void onKeyRelease(int key) {

            }
        };

        KeyboardManager.addListener(kl);

        for(int x = 0; x < lines.length; x++){
            lines[x] = new Label();
            lines[x].setFont("data/roboto_small.fnt", "data/roboto_small_0.png");
            lines[x].setY((CMConfig.WINDOW_HEIGHT - 34) - (x * 17));
            lines[x].setX(3);
        }

        hasInit = true;
    }