Fix various problems with my last mealmaster patch. Fix some other bugs involving nutritional plugin found while texting exports.