Adding passthrough of timeout, and attach points in the Run method. Clea...

...ning up timer code. Setting default to 30 seconds, and adding debugging to random numbers ample
What does this line do, and what was wrong with it before?