mu: clean up variables and adjust for clock drift.