trying to get stuff to work on windows.
win branch works on mac.
Some more WIP.
Added couple of manual test scripts.