1) Core changes to the rendering setup for windows
2) Compatibility fixes for linux