Win port

Betters docs + unit test tweaks.