Bug fix for MS Windows - the user function menus are now fully deactivated during execution lock.
The submenus were strangely not all being deactivated, so now all submenu items are also deactivated.
Authored by: bugman 2011-09-19
Parent: [r14703]
Child: [r14705]