thread dead-lock problem. Menu replacing should work