fixed assert when insert text was empty
autocomplete only for words of minimal size
do Alloc before append
removed unnecessary accerl table