add: properties for item height, caption and menu position to SubMenu class
add: method to get menu by name to MainMenu state
add: raising on erroneous SubMenu object name in MainMenu state