interface: added auto-completion for modifiers (only [offline] for now)
Many fixes.
Merge github.com:vysheng/tg