Fixed output of commands and methods to be put in the gui instead of
console