Fix memory leak in in_thread:

* the correct thread wasn't being removed from the list of subthreads
unify all fonts in Qt editor