menu stuff and cursor stuff