Windows/bootstrap fixes

Program now checks for windows, and if so, drops back to a single execution
thread.