tsedmik_Added method for terminating console in ConsoleView