fix windows compile error

Change-Id: I9154cd0c0352b8807b5a5eae2444629c9cfe3d48
start to bring some sanity to windows backend

Just moving some of our variables from public to private to understand which ones are actively set from outside objects.

Change-Id: I33998bb95c93195c6c39778e37ac1071b917c8fa
remove unused code and const-ify some methods

Change-Id: I4c8da0cdf39f31ec757e87687dcec79a4ac83681
a little bit more sanity

Change-Id: I080984c5faaa8cf349ba37ffdb116b6d8d016552