Fixed some glaring compile errors
Added printIt using # preprocessing
Windows implementation version
fix some lib issues
Threading