Added Cvar::LoadConfig
Added Cvar::WriteConfig
Adjusted file open/write code when dealing with text files
Adjust file open error checking
Cleaned up Renderer::DestroyDisplay