Thank you all :)
After I posted the program, I checked the code for the cycle-speed.. yes, it turns out that it was an artifact from the Linux code that I had disabled (I did most of this thing a couple of months ago, and forgot a bunch of what I did). On Linux, it used usleep, with a delay...