Improve spawning code

Also make spawning happen a bit more often.

Also prevents the time remaining from going into negative numbers at the end after you lose.

We should look into separating functions into modules soon. That random function should be separate from the other code.