Improved cmd.Console command reading