Added rudimentary (non-UI) support for autocompleteing after a space.