That's an impressive program. It runs well on my Windows XP laptop, with a 2.6GHz P4 Processor and 512MB of RAM.
It runs faster in Sticks Only mode, but my laptop is old. It will run faster on a newer computer, I'm sure.
I'm afraid I don't know anything about Freebasic, but your code looks like it works.
With your permission, I would like to show your program to our Science department - I work in a school, but I am not a teacher.
If you would like me to add any reactions to my program, please let me know, and I will update it.