Fix debug setting not getting set
Fix command-line argument parsing
Replace re.match with re.search

I know how to write regexes with correct anchoring.
commands.py: allow arguments anywhere in the string

This allows arguments to be pre/suffixed.