Minor corrections
Add proper color scheme.
Fix minor bugs.
- logging when switched off
- failing to parse key names
- moved regexes into global variables
- switched off command logging