fixed GUI display of commands being one command behind the console