Made getting LOG_LEVEL setting simpler
Made sure that split words are decoded before use

Now use `shlex` to split a message into words.