Various utils

Inlined stopwatch methods
Added FPS counter
Removed some type info from ThreadTask (should swap this for interface)
Added decompose utility method to ThreadPool and exposed numThreads
Added generic two-state DField, with buffer indices flippable via
DFieldBufferIdx. It's a daft hack but whatever.