fixed windows debug dll, fixed state tests in client to never stall