Fixed some null termination issues
Was mostly noticeable interacting with toxic.
Merge branch 'master' of github.com:Alek900/ToxQML