Improve quoting and parsing of container commands

Seems like we're using ```parse_words``` before it's defined ... also leaking it into the global scope.