[UI][Agar] Add high-resolution sync timer, using nanosleep().