(Bluefox) add some debug outputs to textCommands