Some minor bugs with console output were fixed