Adds RepeatingTask.
Adds Singleton interface.
Fixes ThreadLocalStack.pop prematurely clearing all items and adds popOrError API.