Ribbon Doesn't show addin Options correctly

I have a addin that has 4 different options to choose from on the menu.  If the user wants to use the toolbar instead they only get 3 options and 2 Flyout boxes.  The image below should have an "S" where the first flyout box is.  Same thing for just s normal toolbar it only shows "C M A"

http://i103.photobucket.com/albums/m157/HaloUmpaLumpa/Work/ToolbarIssue.jpg

I can't figure out where in the code to control this ribbon.

Below is the code i have so far.  I don't see where it's creating the ribbon or the flyout boxes for it.

<p>Public Sub AddCommandMgr()<br><br>        Dim cmdGroup As ICommandGroup<br>        Dim iBmp As New BitmapHandler<br>        Dim thisAssembly As Assembly<br><br>        Dim cmdIndex0 As Integer, cmdIndex1 As Integer, cmdIndex2 As Integer, cmdIndex3 As Integer<br>        Dim Title As String = "Material Selector"<br>        Dim ToolTip As String = "Material Selector"<br><br><br>        Dim docTypes() As Integer = {swDocumentTypes_e.swDocASSEMBLY, _<br>                                       swDocumentTypes_e.swDocDRAWING, _<br>                                       swDocumentTypes_e.swDocPART}<br><br>        thisAssembly = System.Reflection.Assembly.GetAssembly(Me.GetType())<br><br>        cmdGroup = iCmdMgr.CreateCommandGroup(1, Title, ToolTip, "", -1)<br>        cmdGroup.LargeIconList = iBmp.CreateFileFromResourceBitmap("MaterialSelector.ToolbarLarge.bmp", thisAssembly)<br>        cmdGroup.SmallIconList = iBmp.CreateFileFromResourceBitmap("MaterialSelector.CITToolbarSmall.bmp", thisAssembly)<br>        cmdGroup.LargeMainIcon = iBmp.CreateFileFromResourceBitmap("MaterialSelector.MainIconLarge.bmp", thisAssembly)<br>        cmdGroup.SmallMainIcon = iBmp.CreateFileFromResourceBitmap("MaterialSelector.MainIconSmall.bmp", thisAssembly)<br><br>        cmdIndex0 = cmdGroup.AddCommandItem2("CreatePart", 0, "Create a Part", "Create Part", 0, "CreatePart", "", 0, swCommandItemType_e.swMenuItem)<br>        cmdIndex1 = cmdGroup.AddCommandItem2("ModifyPart", 1, "Modify Currently opened part", "Modify Part", 1, "ModifyPart", "", 1, swCommandItemType_e.swMenuItem)<br>        cmdIndex2 = cmdGroup.AddCommandItem2("AssemblyUpdater", 2, "Update assembly", "Updates Currently Opened Assembly", 2, "AssemblyUpdater", "", 2, swCommandItemType_e.swMenuItem)<br>        cmdIndex3 = cmdGroup.AddCommandItem2("Setup", 3, "Setup", "Allows modifying data for a part type", 3, "ModifyData", "", 3, swCommandItemType_e.swMenuItem)<br><br>        cmdGroup.HasToolbar = True<br>        cmdGroup.HasMenu = True<br>        cmdGroup.Activate()<br><br>        For Each docType As Integer In docTypes<br>            Dim cmdTab As ICommandTab = iCmdMgr.GetCommandTab(docType, Title)<br>            Dim bResult As Boolean<br><br>            If cmdTab Is Nothing Then<br>                cmdTab = iCmdMgr.AddCommandTab(docType, Title)<br><br>                Dim cmdBox As CommandTabBox = cmdTab.AddCommandTabBox<br><br>                Dim cmdIDs(3) As Integer<br>                Dim TextType(3) As Integer<br><br>                cmdIDs(0) = cmdGroup.CommandID(cmdIndex0)<br>                TextType(0) = swCommandTabButtonTextDisplay_e.swCommandTabButton_TextHorizontal<br><br>                cmdIDs(1) = cmdGroup.CommandID(cmdIndex1)<br>                TextType(1) = swCommandTabButtonTextDisplay_e.swCommandTabButton_TextHorizontal<br><br>                cmdIDs(2) = cmdGroup.CommandID(cmdIndex2)<br>                TextType(2) = swCommandTabButtonTextDisplay_e.swCommandTabButton_TextHorizontal<br><br>                cmdIDs(3) = cmdGroup.ToolbarId<br>                TextType(3) = swCommandTabButtonTextDisplay_e.swCommandTabButton_TextHorizontal<br><br><br>                bResult = cmdBox.AddCommands(cmdIDs, TextType)<br><br>                Dim cmdBox1 As CommandTabBox = cmdTab.AddCommandTabBox()<br>                ReDim cmdIDs(1)<br>                ReDim TextType(1)<br><br>                cmdIDs(0) = cmdGroup.ToolbarId<br>                TextType(0) = swCommandTabButtonTextDisplay_e.swCommandTabButton_TextBelow<br><br>                bResult = cmdBox1.AddCommands(cmdIDs, TextType)<br><br>                cmdTab.AddSeparator(cmdBox1, cmdGroup.ToolbarId)<br>            End If<br>        Next<br><br>        thisAssembly = Nothing<br>        iBmp.Dispose()<br>    End Sub</p>

What is causing this or where should I look to start changing how this is laid out?

SolidworksApi macros