Support windows playback

The final two changesets in this PR represent proper Windows support for playback.