added forward declarations for most main menu functions and button handlers