Thanks guys, made improvements to the static test.
Added Up Arrow Key changes the number of points 10,000 , 100,000 , 1,000,000 , 2,000,000 , 3,000,000 , 4,000,000 and then back to 10,000 points. So no need to comment and uncomment as in the original.
The Right Arrow Key changes the seed used for the Rand function.
I am out of ideas on getting it to print the numeric values correctly. It takes whole numbers and makes them decimal, for the seed and numPoints?