Feature: Thread Local Time

This makes all time calculations thread local, and more importantly adds the ability to check if a function is executing on the main thread.