Flash/Silverlight: Get rid of wait4shim (what was the point anyway?). Checking only once looks sufficient.