Recursive menu nodes, closing rules for menus, cleaned up rects