Debug output + menu stuff