[ros-diffs] [CVS reactos] fixed crashes that could be caused by the thread cleanup routine when destroying windows from different threads