fix pen tool bar linetype combo box width
refactor sorting of menus, tool buttons, CAD tool bar

introduce group sort order (separators are inserted between groups)