Added method for terminating console in ConsoleView