Standalone Timer: Fixes for the timing functions