Updated grapher code to fix a crash with photo channels
added missing compiled grapher code