Fixed the windows problems for majority of the examples. Those examples which use a cube mapping texture are still working incorrectly