Fixed race condition that occasionally prevented displaying menu items w...

...hen the remote process returned menu items very quickly.