Windows compilation improvements, annotations, and fixes

it totally works! really! 

*on my machine