Tweaks to Grid and Packbox example code.