Added a function "AppendConsoleText" and changed the related function calls of "OnConsoleText" to "AppendConsoleText"