Changed timer precision to milliseconds
Fixed bug in Windows pollTimeOut