Very early porting to Windows and trivial updates.