Implemented new menuing behavior.

Secondary menu commands now stay open only for the duration of single
controller: once control passes (from one controller to another) secondary
menuing commands are hidden.