Added time factor (control with R and T)

Not exact yet.  We need to determine which timestep corresponds to real
time, and if this is constant for every device running the game.  If
not, we should calculate the timestep from performance.now, right?