Fixed windows build errors
Added some windows specific debugging and timing code