Fix ws writer
fix for ticket #127
Fixing bogus error check
Fixing bogus test
more bogus check fixed in tm
Fixing small bug in checking cuts from pool
Fixing issue with OpenMP with Visual Studio. Cannot call omp_set_num_threads multiple times