instead of managing the active state and the timer state for the XTimer, the class is now creating an internal timer on the proper thread at runtime.