fixed bugs in command completion
tweaked default config