WIP: Preliminary port to Windows.