Added rudimentary windows support and fixed docs with mixed orientations