implement interval for behaviors - fixes #383

compute frame time before syncing to avoid div-by-zero in first frame

(0) -100 -30 -10 -2 +2 +10 tip

mercurial