   // show program name and version number
   banner();
 
-  // we sometimes see random events on powerup, flush them here
-  event_flush();
-  
   // dump EEPROM values
   dump_eeprom();
 
   // we sometimes see random events on powerup, flush them here
-  event_flush();
+//  event_flush();
 
   // get going
   show_main_screen();
 }
 
 //----------------------------------------
+// Show the main screen.
+// Room for 'mode', etc, display on second row
 //----------------------------------------
 
 void show_main_screen(void)
 {
   lcd.clear();
   lcd.setCursor(0, 0);
-  lcd.print("Freq:");
+  lcd.print("Vfo:");
   display_sel_value(VfoFrequency, VfoSelectDigit, MAX_FREQ_CHARS, NUM_COLS - MAX_FREQ_CHARS - 2, 0);
   lcd.print("Hz");
 }

struct MenuItem mi_del = {"Delete slot", NULL, &deleteslot_action};
struct MenuItem mi_settings = {"Settings", &settings_menu, NULL};
struct MenuItem mi_reset = {"Reset all", &reset_menu, NULL};
struct MenuItem *mia_main[] = {&mi_save, &mi_restore, &mi_del, &mi_settings, &mi_reset};
struct Menu menu_main = {"Menu", ARRAY_LEN(mia_main), mia_main};




void reset_no_action(struct Menu *menu, int item_num)
{
}

//----------------------------------------
// Show the credits.
//   menu      address of 'calling' menu
//   item_num  index of MenuItem we were actioned from
// Wait here until VfoClick.
//----------------------------------------

void credits_action(struct Menu *menu, int item_num)
{
  // get rid of any stray events to this point
  event_flush();

  // show the credits
  show_credits();
  
  // handle events in our own little event loop
  while (true)
  {
    // handle any pending event
    if (event_pending() > 0)
    {
      byte event = event_pop(); // get next event and handle it

      switch (event)
      {
        case vfo_RLeft:
          break;
        case vfo_RRight:
          break;
        case vfo_Click:
          return;
        case vfo_HoldClick:
          return;
        default:
          // ignored events we don't handle
          break;
      }
    }
  }
}

//----------------------------------------
