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.
Also Time.deltaTime and .totalTime are now in seconds.

Closes #129.