(Bluefox) improve textCommands