A couple of useless members were removed too. Also fix wnd initialization Coverity: CID 146955 (#1 of 1): Uninitialized pointer read (UNINIT) 18. uninit_use: Using uninitialized value wnd[i].
Not important but pollute the valgrind log
Linux only to avoid the extra dependency on windows