Remove the usage of menus/menus.txt

Closes #996, closes #997