added layout functions and events
more work on list and wip sub menus