Complete refactor of the submenu system to improve organization and require less rules.  Improves layout for mobiles.