Added Getters and Setters for isheadless and currentGUI
remove debugline from GuiLogOutputHandler