fix autocomplete
rewrite & fix autocomplete for v0.4
Merge pull request #1 from misterpah/experimental

version 0.4