           }
         </div>
         {
-          counter = 0
+          counter = 1
           plugins.map (plugin, index) =>
             if !plugin.handleClick
               key = (counter += 1)

        <NavItem key={0} eventKey={0} onSelect={@handleSelectMainView}>
          {mainview.displayName}
        </NavItem>
        <NavItem key={-2} eventKey={-2} onSelect={@handleSelectShipView}>
          <span><FontAwesome key={0} name='server' />{__ ' Fleet'}</span>
        </NavItem>
        <NavDropdown id='plugin-dropdown' key={-1} eventKey={-1}
                     title=
                     {
                       if @state.key >= 1 and @state.key < 1000
                         <span>{plugins[@state.key - 1].displayName}</span>
                       else
                         <span><FontAwesome name='sitemap' />{__ ' Plugins'}</span>
                     }>
        {
          counter = 0
          plugins.map (plugin, index) =>
            if plugin.handleClick
              <MenuItem key={2 + index} eventKey={0} onSelect={plugin.handleClick}>

        </NavItem>
      </Nav>
      <div>
        <div id={mainview.name} className="poi-app-tabpane #{if @state.key == 0 || @state.key == 1 then 'show' else 'hidden'}">
          {
            React.createElement mainview.reactClass,
              selectedKey: @state.key
