Bugfix: inline preview sometimes shows despite being disabled

- when bringing back completions another time
Bugfix: completions not showing for just one letter (fix #37)

- removed some not needed and wrong legacy code