The current version, 1.6
I didn't think of that. I've changed it to make a thread from the sendUsers() function, instead of using the thread as a base class, and it works, but it doesn't execute as a thread, it executes as a normal function.
I wrote a separate program to test, and it worked just fine. So I think what you said about it being destroyed as soon as it was created is what the problem is - How would I counteract this? Make the thread instance outside the program scope?