Well, I love the idea and your method, but this kills my installation if I use your widget. It does NOT kill my installation if I simply edit all the PAGES in wordpress to tolerate your code, by pasting it myself. So there is something wrong with your widget.
Using 2.7, with Olio