Remove env calls
Change menu to hud
Add check for nil XP value