Added experimental timing system to attempt to fix drift issues.