use variable timestep, add fps debug