switch Mutex back to using CRITICAL_SECTION, add IntervalTimer class