Cleaned up code style; changed msg to message

I prefer using the full word, and I'm already using "command" instead
of "cmd".