Fix: wait for Panorama init before changing oncommand attr. of menuitems.

This is follow up bug fix described in previous commit (1f7ab1e).