Added two new features: exitOnMouseOut and submenuWrap