Eliminating unneeded spaces in messages/commands