Removed goto from food unit.
Refactore some more goto.