manually merge new CrossThreadChannel implementation for windows from Tracks