Modify the ConsoleMain and add descriptive message on console == null