Added enabled disabled menus based on active sub window.