Add support for adding new dir while running

- Also train on files in background
Merge branch 'master' of https://github.com/pokeyrule/smartAutocomplete