fixed typos in command.c
removed useless code in autocomplete.c
Merge remote-tracking branch 'dmitry/fixes'