Added support for finding OpenMP
I adjusted the Framescheduler so that it swaps buffers at the same point that that ThreadSpecific Resources are created. Now There should be less serialized code and few context switches.