Fixed some crashes on mode change in ThreadedRenderCoordinator
Added a way to query the refresh rate of an XNA GraphicsDevice