added gui.printError