Refactor graph time controls. Incomplete.