mainmenu handling, adding export