Initial win32 support, more robust heartbeat reading and reduced heartbeat interval.