Work on bad accesses and then memory leaks.

These allow us to free menu translations.