ake mealplan static #2

Preparation for this issue and fix a few bugs in the code.