Fixed extended_functions mode. Small memory leak there. Should be fixed shorly.
Fixed check_utf8
Merge github.com:vysheng/tg