Wrote new implementations for StartScheduler() and SwapInGlobals()
Whitespace removed