I copied several Window structs from windows crate to avoid a cyclic dependency. The rationale was, latency mod is on its way out anyway.