Major improvements on the Windows and OS X server

Performance and misc enhancements on the Windows side.

On OS X, only version 10.8 is working right now but it is pretty well optimized. 
Retina display and resolution scaling are supported.