simulation initialization fix

Also fixes #211.  The commodity recipe context change was a separate bug that I also included in this PR.  The init bug was super subtle phantom that I finally managed to get my hands around.