Improved auto-completion

Now you can press tab to choose among incomplete commands.