Handle UI time tracking more cleanly.