updated for version 7.3.786
Problem:    Python threads don't run in the background (issue 103).
Solution:   Move the statements to manipulate thread state.
Added tag v7-3-786 for changeset 8b3e88bab702