Cleanup Windows internals